#include <iostream>
#include "xcfgreader.hpp"
 
int main(int argc, char* argv[]) {
    if(argc<2) return 0;
	try {
	  xml_config_reader cfg(argv[1]);
	  cfg.Dump("output.cfg");
	} catch (const char* msg){
	 std::cerr<<msg << "\n";
	}
	return 0;
}
 
